package com.xiaoyu.client.model.discovery;

import java.util.List;

/**
 * 公告、感谢榜java bean
 * Created by jk on 2018/10/17.
 */
public class NoticeThankBean {

    /**
     * code : y200
     * message : 成功
     * data : {"notice":[{"forumid":"4","fourmtitle":"求助社区用户发帖管理规范，亿友必看"},{"forumid":"5","fourmtitle":"求助社区用户发帖管理规范，亿友必看"}],"thinklist":[{"thankuserid":"7","thanktitle":"感谢各位亿友！","userid":"11","thinknickname":"ykb_94860","nickname":"ykb_90917"},{"thankuserid":"7","thanktitle":"感谢各位亿友！","userid":"7","thinknickname":"ykb_94860","nickname":"ykb_94860"},{"thankuserid":"8","thanktitle":"感谢各位亿友！","userid":"11","thinknickname":"ykb_90155","nickname":"ykb_90917"},{"thankuserid":"10","thanktitle":"感谢各位亿友！","userid":"6","thinknickname":"ykb_90365","nickname":"ykb_92034"},{"thankuserid":"6","thanktitle":"感谢各位亿友！","userid":"10","thinknickname":"ykb_92034","nickname":"ykb_90365"},{"thankuserid":"4","thanktitle":"感谢各位亿友！","userid":"11","thinknickname":"ykb_80943","nickname":"ykb_90917"}]}
     */

    private String code;
    private String message;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<NoticeBean> notice;//公告列表
        private List<ThankBean> thinklist;//感谢列表

        public List<NoticeBean> getNoticeList() {
            return notice;
        }

        public void setNoticeList(List<NoticeBean> notice) {
            this.notice = notice;
        }

        public List<ThankBean> getThankList() {
            return thinklist;
        }

        public void setThankList(List<ThankBean> thinklist) {
            this.thinklist = thinklist;
        }

        public static class NoticeBean {
            /**
             * forumid : 4
             * fourmtitle : 求助社区用户发帖管理规范，亿友必看
             */

            private String forumid;//公告id
            private String fourmtitle;//公告内容

            public String getForumid() {
                return forumid;
            }

            public void setForumid(String forumid) {
                this.forumid = forumid;
            }

            public String getFourmtitle() {
                return fourmtitle;
            }

            public void setFourmtitle(String fourmtitle) {
                this.fourmtitle = fourmtitle;
            }
        }

        public static class ThankBean {
            /**
             * thankuserid : 7
             * thanktitle : 感谢各位亿友！
             * userid : 11
             * thinknickname : ykb_94860
             * nickname : ykb_90917
             */

            private String thankuserid;//感谢发布者id
            private String thanktitle;//感谢的内容
            private String userid;
            private String thinknickname;//被感谢的人（上面的名字）
            private String nickname;//发起感谢的人（下面的名字）

            public String getThankuserid() {
                return thankuserid;
            }

            public void setThankuserid(String thankuserid) {
                this.thankuserid = thankuserid;
            }

            public String getThanktitle() {
                return thanktitle;
            }

            public void setThanktitle(String thanktitle) {
                this.thanktitle = thanktitle;
            }

            public String getUserid() {
                return userid;
            }

            public void setUserid(String userid) {
                this.userid = userid;
            }

            public String getThinknickname() {
                return thinknickname;
            }

            public void setThinknickname(String thinknickname) {
                this.thinknickname = thinknickname;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }
    }
}
